Additional information, I tried the following code with iPhone 13 / 13 mini without checking "captureDevice.isFocusModeSupported(.autoFocus)";
do {
try captureDevice.lockForConfiguration()
captureDevice.focusMode = .autoFocus
captureDevice.unlockForConfiguration()
} catch _ {
}
The result is my app collapsed.
From this symptom, it seems the ultraWideCamera of iPhone 13 / 13 mini does not support "autoFocus", but iPhone 13 pro does.
Is this correct spec? or iOS 15 bug?
Topic:
Media Technologies
SubTopic:
Photos & Camera
Tags: